namespace KDS.Mes.Migrations
{
    using System;
    using System.Collections.Generic;
    using System.Data.Entity.Infrastructure.Annotations;
    using System.Data.Entity.Migrations;
    
    public partial class InitialCreate : DbMigration
    {
        public override void Up()
        {
            //CreateTable(
            //    "dbo.T_ANDON_UPH",
            //    c => new
            //    {
            //        Id = c.Int(nullable: false, identity: true),
            //        Line = c.String(nullable: false, maxLength: 20),
            //        UPH = c.String(nullable: false, maxLength: 20),
            //        PLAN_COUNT = c.String(nullable: false, maxLength: 20),
            //        KDLV = c.String(nullable: false, maxLength: 20),
            //        NOON = c.String(nullable: false, maxLength: 20),
            //        NIGHT = c.String(nullable: false, maxLength: 20),
            //        DAY_END = c.String(nullable: false, maxLength: 20),
            //        NIGHT_END = c.String(nullable: false, maxLength: 20),
            //        IsDeleted = c.Boolean(nullable: false),
            //        DeleterUserId = c.Long(),
            //        DeletionTime = c.DateTime(),
            //        LastModificationTime = c.DateTime(),
            //        LastModifierUserId = c.Long(),
            //        CreationTime = c.DateTime(nullable: false),
            //        CreatorUserId = c.Long(),
            //    },
            //    annotations: new Dictionary<string, object>
            //    {
            //        { "DynamicFilter_ANDON_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
            //    })
            //    .PrimaryKey(t => t.Id);

        }
        
        public override void Down()
        {
            //DropTable("dbo.T_ANDON_UPH",
            //    removedAnnotations: new Dictionary<string, object>
            //    {
            //        { "DynamicFilter_ANDON_SoftDelete", "EntityFramework.DynamicFilters.DynamicFilterDefinition" },
            //    });
        }
    }
}
